package com.huitongmaoyi.ai.entity;

import java.time.LocalDateTime;

public class ChatSession {
    private long sessionId;
    private long userId;
    private String customerId; // 可为null（与用户聊天时）
    private Long otherUserId; // 可为null（与客户聊天时）
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    // getter和setter
    public long getSessionId() { return sessionId; }
    public void setSessionId(long sessionId) { this.sessionId = sessionId; }
    public long getUserId() { return userId; }
    public void setUserId(long userId) { this.userId = userId; }
    public String getCustomerId() { return customerId; }
    public void setCustomerId(String customerId) { this.customerId = customerId; }
    public Long getOtherUserId() { return otherUserId; }
    public void setOtherUserId(Long otherUserId) { this.otherUserId = otherUserId; }
    public LocalDateTime getCreatedAt() { return createdAt; }
    public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }
    public LocalDateTime getUpdatedAt() { return updatedAt; }
    public void setUpdatedAt(LocalDateTime updatedAt) { this.updatedAt = updatedAt; }
}